#include "Huff.h"
#include "Huff.cpp"
int main(void){
    //char tmp[]="\.\/input\.txt";

    char *inputDir=(char*)"./input.txt";
    char *outDir=(char*)"./out.txt";
    Huffman alg;
    bool flag = alg.read_from_file(inputDir);
    if(!flag)
        exit(1);
    alg.process();
    alg.write_to_file(outDir);
    if(!flag)
        exit(1);
    return 0;
}